<?php
/**
 * Created by PhpStorm.
 * User: 许勇
 * Date: 2019/5/7
 * Time: 22:39
 */

namespace app\admin\controller;


use think\Controller;

class Index extends Controller
{
    public function Index()
    {
//        return '德玛西亚'

        $this->assign('title','tp5后台');
        return $this->fetch('index/index');

//        return view('',['title'=>'tttttt5']);
    }

    public function jump()
    {
        $this->success('添加成功',url('admin/user/index'));
    }

    public function rd()
    {
//        $this->redirect('index/index/index');
        $this->redirect('index/blog/article',['year'=>2016,'month'=>10,'day'=>10]);
//        $this->redirect('http://huaban.com');


    }
}